package com.example.kuaizu.mapper;

import com.example.kuaizu.pojo.ov.ResumeVo;
import kuaizu.common.tablepojo.Resume;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author: wangmx15
 * @date: 2025/10/6
 **/
@Mapper
public interface ResumeFunctionMapper {
    int insertResume(@Param("p") Resume resume);

    List<ResumeVo> queryMyResumeAll(String openId);

    ResumeVo selectResumeById(Integer id);

    int delectResumeById(Integer id);

    int updateResumeById(@Param("p") Resume resume);

    int delectResumeByIdAndOpenId(@Param("id") Integer id, @Param("openId") String openId);
}
